package com.example.lottery_system.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Winner {
    @NotNull(message = "用户id不能为空！")
    private Long userId;
    @NotBlank(message = "用户名不能为空！")
    private String userName;
}
